package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.NLaboratoryMechanicsYDetail;
import com.ruoyi.zhgd.domain.vo.NLaboratoryMechanicsYDetailVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMechanicsYDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 压力机详情信息Service接口
 *
 * @author tll
 * @date 2023-09-15
 */
public interface INLaboratoryMechanicsYDetailService {

    /**
     * 查询压力机详情信息
     */
    NLaboratoryMechanicsYDetailVo queryById(Long id);

    /**
     * 查询压力机详情信息列表
     */
    TableDataInfo<NLaboratoryMechanicsYDetailVo> queryPageList(NLaboratoryMechanicsYDetailBo bo, PageQuery pageQuery);

    /**
     * 查询压力机详情信息列表
     */
    List<NLaboratoryMechanicsYDetailVo> queryList(NLaboratoryMechanicsYDetailBo bo);

    /**
     * 新增压力机详情信息
     */
    Boolean insertByBo(NLaboratoryMechanicsYDetailBo bo);

    /**
     * 修改压力机详情信息
     */
    Boolean updateByBo(NLaboratoryMechanicsYDetailBo bo);

    /**
     * 校验并批量删除压力机详情信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 压力机设备详情信息列表
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<NLaboratoryMechanicsYDetailVo> page(NLaboratoryMechanicsYDetailBo bo, PageQuery pageQuery);

    List<NLaboratoryMechanicsYDetail> selectyDetail(Integer id);
}
